<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>确认待处理订单列表</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
	</head>
	<body>
		<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form id="form1" action="${ctx}/addBillManage.do?method=confirmBill"
			method="post">
			<input type="hidden" name="wuliu" value="${wuliu}" />
			<input type="hidden" name="caiwu" value="${caiwu}" />
			<input type="hidden" name="dianzi" value="${dianzi}" />
			<input type="hidden" name="wuliu2" value="${wuliu2}" />
			<table align="center">
				<tr>
					<TH colspan="2">
						物流部处理订单
					</TH>
				</tr>
				<tr>
					<td class="td_01">
						*配送方式：
					</td>
					<td class="td_04">
						${orderindex.dname}
					</td>
				</tr>
					<tr>
					<td class="td_01">
						原提醒：
					</td>
					<td class="td_04">
						<textarea name="orderindex.attendtion" cols="47" rows="5" readonly="readonly">${orderindex.attendtion}</textarea>
					</td>
				</tr>
				<tr>
					<td class="td_01">
						新提醒：
					</td>
					<td class="td_04">
						<textarea name="attendtion" cols="47" rows="5"></textarea>
					</td>
				</tr>
                <tr>
                	<input type="hidden" name="orderindex.id" value="${para.id}" />
                	<td colspan="2" class="td_01">
                    	<input type="button"  class="btn" value="订单确认" onclick="javascript:panduan('con')" />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="button" onclick="window.close()"  class="btn" value="关闭页面" style="border: 1 solid #000000" />
                    </td>
                </tr>
			</table>
		</form>
	</body>
	<script type="text/javascript">
	function panduan(va){
	  if (!confirm("是否确认提交?")) {
					return;
	  }
	  var form1=document.getElementById("form1");
	  if(va=='con'){
	  form1.action="addBillManage.do?method=wuliuConfirmBill";	  
	  }else{
	  form1.action="addBillManage.do?method=cancel";
	  }
	  form1.submit();
	  window.close();
	  window.opener.location.href="${ctx}/addBillManage.do?method=select&dianzi=${dianzi}&wuliu=${wuliu}&caiwu=${caiwu}&wuliu2=${wuliu2}";
	}
	</script>
</html>